﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ucSearch.ascx.cs" Inherits="ucControl_ucSearch" %>
<div class="head_shop" style="width: 100%">
    <b style="line-height: 26px; padding-left: 10px">Kết quả tìm kiếm</b>
</div>
<div>
    <ul style="margin-left: -38px">
        <asp:Repeater ID="rpItem" runat="server">
            <HeaderTemplate>
            </HeaderTemplate>
            <ItemTemplate>
                <table style="border: 1px solid #cccccc">
                    <tr>
                        <td rowspan="3" style="padding-left: 7px">
                            <a id="A1" runat="server" title='<%# Eval("ItemNumber") %>' href='<%# "~/ChiTietSanPham.aspx?id=" + Eval("IDItem")  %>'>
                                <asp:Image ID="img" runat="server" ImageUrl='<%# "~/ImageProcess.ashx?file=" + "~/Admin/images/Items/" + Eval("ImageURL")+ "&width=105&heigh=64" %>'
                                    AlternateText="No Image" />
                            </a>
                        </td>
                        <td style="padding-left: 10px; padding-top: 8px">
                            <b>
                                <asp:Label ID="lbItemName" runat="server" Text='<%# Eval("ItemName") %>'></asp:Label></b>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-left: 10px">
                            <asp:Label ID="Label1" runat="server" Text='<%# Server.HtmlDecode(Eval("ItemDescription").ToString()) %>'></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right; padding-bottom: 8px">
                            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# "~/ChiTietSanPham.aspx?id=" + Eval("IDItem")  %>'
                                ForeColor="Red">Chi tiết</asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <FooterTemplate>
            </FooterTemplate>
        </asp:Repeater>
    </ul>
</div>
